<?php

//<jquery/>
class HdTag extends Tag {
	public $Tag = array(
		'jquery' => array( 'block' => 0, 'level' => 1 )
	);

	public function _jquery( $attr ) {
		$version = isset( $attr['version'] ) ? $attr['version'] : 1;
		switch ( $version ) {
			case "2":
				return "<script src='http://cdn.bootcss.com/jquery/2.1.3/jquery.min.js'></script>";
			default:
				return "<script src='http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js'></script>";
		}
	}
}